import { Table } from 'antd';
import React from 'react';

const ProductList: React.FC<{ tableProps: object,columns: object[], rowKey: string }> = ({
  tableProps,
  columns,
  rowKey
}) => {
  return <Table columns={columns} rowKey={rowKey} {...tableProps} />
};

export default ProductList;